package com.mostromas.ess.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mostromas.ess.entities.UserProject;
import com.mostromas.ess.project.req.UserProjectsREQ;
import com.mostromas.ess.util.base.Result;

import java.util.List;

public interface IUserProjectsService extends IService<UserProject> {
    Result queryList(UserProjectsREQ req);

    Result updateEffectiveTime(UserProject info);

    int checkRegister(String projectId,String hardwareCoding);

    List<UserProject> getProjectsByUsername(String username);

    UserProject checkLogin(String username,String projectId,String hardwareCoding);

    UserProject getInfoByUsernameProjectId(String username,String projectId);
}
